OPC Studio User's Guide and Reference
DAItemChangedObservable<TValue> Constructor(EasyDAClientSelector,IAliasProvider,IEnumerable<DAItemGroupArguments>)



OpcLabs.EasyOpcClassic Assembly > OpcLabs.EasyOpc.DataAccess.Reactive Namespace > DAItemChangedObservable<TValue> Class > DAItemChangedObservable<TValue> Constructor : DAItemChangedObservable<TValue> Constructor(EasyDAClientSelector,IAliasProvider,IEnumerable<DAItemGroupArguments>)
The selector of client object that is used for OPC Data Access operations.

The value of this parameter cannot be null (Nothing in Visual Basic).

The alias provider to be used for resolving aliases by this reactive object.

The value of this parameter cannot be null (Nothing in Visual Basic).

For each OPC item, contains its OPC server and item descriptors, and OPC group parameters.

The value of this parameter cannot be null (Nothing in Visual Basic).

Create a new instance of the item change observable, with specified client object selector, alias provider, and an enumerable containing the OPC items to be observed, and their OPC group parameters.
Syntax
'Declaration
 
Public Function New( _
   ByVal clientSelector As EasyDAClientSelector, _
   ByVal aliasProvider As IAliasProvider, _
   ByVal arguments As IEnumerable(Of DAItemGroupArguments) _
)
'Usage
 
Dim clientSelector As EasyDAClientSelector
Dim aliasProvider As IAliasProvider
Dim arguments As IEnumerable(Of DAItemGroupArguments)
 
Dim instance As New DAItemChangedObservable(Of TValue)(clientSelector, aliasProvider, arguments)

Parameters

clientSelector
The selector of client object that is used for OPC Data Access operations.

The value of this parameter cannot be null (Nothing in Visual Basic).

aliasProvider
The alias provider to be used for resolving aliases by this reactive object.

The value of this parameter cannot be null (Nothing in Visual Basic).

arguments
For each OPC item, contains its OPC server and item descriptors, and OPC group parameters.

The value of this parameter cannot be null (Nothing in Visual Basic).

Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also